package com.qiche.mapper;

import com.qiche.model.Subscribe;
import com.qiche.requestpram.SubscribeParam;
import com.qiche.common.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface SubscribeMapper extends MyMapper<Subscribe> {

    /**
     * pc 通过参数 获取 预约|服务记录
     * @param subscribeParam
     * @return
     */
    List<Subscribe> userSubscribeByParam(SubscribeParam subscribeParam);

    Integer countSubscribeByParam(SubscribeParam subscribeParam);
}